<include file="Public:pagerForm" />

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="__URL__" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>用户名：</label>
				<input type="text" name="account" value=""/>
			</li>
            <li>
                <label>正式名称：</label>
                <input type="text" name="nickname" value=""/>
            </li>
            <li>
                <label>手机号：</label>
                <input type="text" name="mobilenum" value=""/>
            </li>
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="__URL__/add" target="dialog" mask="true" width="500" height="550"><span>新增用户</span></a></li>
			<li><a class="delete" href="__URL__/userforeverdelete/id/{sid_user}/navTabId/__MODULE__" target="ajaxTodo" title="你确定要永久删除该用户吗（请不要随意删除用户，尽量使用禁用用户）？" warn="请选择用户（请不要随意删除用户，尽量使用禁用用户）"><span>永久删除(省管理)</span></a></li>
			<li><a class="edit" href="__URL__/edit/id/{sid_user}" target="dialog" mask="true" warn="请选择用户"><span>编辑用户资料</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="__URL__/password/id/{sid_user}" target="dialog" mask="true" warn="请选择用户"><span>修改密码</span></a></li>
            <li class="line">line</li>
            <li><span>请不要随意删除用户，尽量使用禁用用户</span></li>
		</ul>
	</div>

	<table class="table" width="100%" layoutH="138">
		<thead>
		<tr>
			<th width="60">编号</th>
			<th width="100" orderField="account" <if condition="$_REQUEST._order eq 'account'">class="{$_REQUEST._sort}"</if>>用户名</th>
			<th orderField="nickname" <if condition="$_REQUEST._order eq 'nickname'">class="{$_REQUEST._sort}"</if>>正式名称</th>
			<th orderField="email" <if condition="$_REQUEST._order eq 'email'">class="{$_REQUEST._sort}"</if>>Email</th>
			<th width="125" orderField="create_time" <if condition="$_REQUEST._order eq 'create_time'">class="{$_REQUEST._sort}"</if>>添加时间</th>
            <th width="60">角色</th>
			<th width="125" orderField="last_login_time" <if condition="$_REQUEST._order eq 'last_login_time'">class="{$_REQUEST._sort}"</if>>上次登录</th>
			<th width="80" orderField="login_count" <if condition="$_REQUEST._order eq 'login_count'">class="{$_REQUEST._sort}"</if>>登录次数</th>
			<th width="80" orderField="status" <if condition="$_REQUEST._order eq 'status'">class="{$_REQUEST._sort}"</if>>点击禁用</th>
            <th width="80" orderField="city" <if condition="$_REQUEST._order eq 'status'">class="{$_REQUEST._sort}"</if>>城市</th>
		</tr>
		</thead>
		<tbody>
		<volist id="vo" name="list">
			<tr target="sid_user" rel="{$vo['id']}">
				<td>{$vo['id']}</td>
				<td>{$vo['account']}</td>
				<td>{$vo['nickname']}</td>
				<td>{$vo['email']}</td>
				<td>{$vo['create_time']|date="Y-m-d H:i:s",###}</td>
                <td>{$jiaose_list[$vo['jiaose']]}</td>
				<td>{$vo['last_login_time']|date="Y-m-d H:i:s",###}</td>
				<td>{$vo['login_count']}</td>
				<td>{$vo['status']|showStatus=$vo['id']}</td>
                <td>{$city_list[$vo['city']]}</td>
			</tr>
		</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
	</div>

</div>


